<h3>Pick/Create an Incident</h3>
<%= link_to("Pick an incident", "#", :onclick => "$('pick').toggle(); $('create').toggle(); return false;") %> |
<%= link_to("Create a new incident", "#", :onclick => "$('pick').toggle(); $('create').toggle(); return false;") %> |
<%= link_to("Cancel", "#", :onclick => "cancel_picker()") %><br/><br/>
<div id="pick">
	<%= index_table(Incident, @incidents, :mode => :choose, :report_id => @report_id) %>
</div>
<div id="create" style="display: none">
	<%= render("incidents/form", :incident => @new_incident, :report_id => @report_id) %>
</div>